package com.css.crm.service;

import com.css.crm.exception.SystemException;
import com.css.crm.vo.CustomerVo;

public interface SolrService {

	/**
	 * create solr index when create new customer successfully
	 * @param customerVo
	 * @throws SystemException
	 */
	public void createDocument(CustomerVo customerVo)throws SystemException;
	
	/**
	 * update solr index when modify customer successfully
	 * @param customerVo
	 * @throws SystemException
	 */
	public void updateDocument(CustomerVo customerVo)throws SystemException;
}
